package org.dubnation.org.mapper;

import org.dubnation.base.excel.download.util.DownloadNeed;
import org.dubnation.org.domain.Department;
import org.dubnation.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhu
 * @since 2023-10-27
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> queryParent();

    Department queryByName(String name);

    List<Department> getDepartment(DownloadNeed downloadNeed);
}
